

Pod::Spec.new do |s|
  s.name             = 'ChangeEnvironmentManager'
  s.version          = '1.1.5'
  s.summary          = '切换环境，支持开发、日常，预发，线上三种环境切换；支持Debug，Profile，Release三种模式展现不同的环境.'
  s.description      = <<-DESC
  切换环境，支持开发、日常，预发，线上三种环境切换；支持Debug，Profile，Release三种模式展现不同的环境.storyboard文件支持，增加NSBundle+ChangeEnvironment的不同bundle资源;
                       DESC

  s.homepage         = 'https://gitee.com/zj1208/ChangeEnvironmentManager'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '海参' => '879654715@qq.com' }
  s.source           = { :git => 'https://gitee.com/zj1208/ChangeEnvironmentManager.git', :tag => s.version.to_s }
  s.ios.deployment_target = '9.0'
  s.source_files = 'ChangeEnvironmentManager/Classes/*.{h,m}'
#  s.exclude_files = "ChangeEnvironmentManager/Classes/Exclude"
#  s.public_header_files = "ChangeEnvironmentManager/Classes/ChangeEnvironmentManagerKit.h"
  s.subspec 'NSBundle+ChangeEnvironment' do |ss|
     ss.source_files = 'ChangeEnvironmentManager/Classes/NSBundle+ChangeEnvironment/**/*.{h,m}'
  end
  
  s.subspec 'Resources' do |resources|
#    无法导入.bundle
#     resources.source_files = 'ChangeEnvironmentManager/Assets/*'
     resources.resource     = 'ChangeEnvironmentManager/Assets/ChangeEnvironmentManager.bundle'
   end
  


  s.dependency 'Masonry', '~>1.1.0'
  s.frameworks = 'UIKit', 'Foundation'

#  无效
#  s.compiler_flags = '-DNDEBUG -DNS_BLOCK_ASSERTIONS'
#  无效
#  s.pod_target_xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS[config=Profile]' => '$(inherited)PROFILE=1'}
  s.prefix_header_contents = '#import <Masonry/Masonry.h>'
  s.module_name = 'ChangeEnvironmentManager'
end
